package com.meteor.convert;

import com.meteor.entity.Complaint;
import com.meteor.entity.Invitation;
import com.meteor.vo.ComplaintVO;
import com.meteor.vo.InvitationVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface InvitationConvert {

    InvitationConvert INSTANCE = Mappers.getMapper(InvitationConvert.class);

    InvitationVO convert(Invitation entity);

    Invitation convert(InvitationVO vo);

    List<InvitationVO> convertList(List<Invitation> list);

}
